|
|
<DIV id=list>2 }, D# K, Q. X6 l
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV># Q+ N+ s; C, i
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>2 @. l( Y" L/ d+ [5 I9 w
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
0 C9 ^ O9 L9 |<DIV id=lrc3 style="COLOR: #666666"></DIV>
0 E$ Q: I6 m. B: I+ N3 S! Q5 i5 i/ i. \<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>% U# o9 U1 H ]2 C
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
7 f& Y. ^9 @1 I6 n<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>3 d: k$ d% O7 [9 ^
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>& @' |, B& f9 \ g, T3 t3 ]
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
2 Q' H$ A6 D: T4 h _9 u<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>' a: S! W# w6 M! z( M# {! C
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV># }9 k& W% Y% O' N1 r+ b
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
* P5 I! e% }* q! S W% _$ b<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
) K* m0 Z4 Z* q6 w<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>+ n+ R0 a! H% W6 ~
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>$ ~9 `6 I, r" ?4 e9 X3 d j8 w
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
q- a; A5 x; F+ \* A4 c<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>4 P ]* I( B/ [
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
3 d% @! o. R n<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>; k% V% c- _* Y, c( I1 J2 Y4 N
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
/ s/ J$ S+ v9 p5 f- s( V<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>( s& J% f( _% I( j- G9 R' |
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
& {1 V/ U3 r" l2 h<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>1 X8 t9 E& B! I5 P9 |) Q d
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>) _2 ^$ @. K1 z7 e& q+ u
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
+ Q( L% w- N+ b7 {0 [<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
. K1 X' k$ c! i3 u& j+ E1 z! L<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
5 z; p( @/ w4 L* \$ \/ N<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
1 s+ K# P. X5 Q/ G6 b* m: M8 ?<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' ]8 V4 n% [2 L; p# }) B @: t' M1 b
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>* B. ~3 A9 {6 S" i; |
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>. Y9 _6 ?& f6 f: g9 n+ M
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
/ U& x8 M& F" L2 k<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>2 P; h+ ?3 l( u! F0 ^! S) R; A
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
& Z5 k6 B5 B- k4 S/ j$ ~6 {! e<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
: M" y6 \5 `, v( I- v0 _<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
t. s. ^% L) p# e: z E* B9 Z. k2 [<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
1 z( y, ^5 f& C+ H! [<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
1 \! I5 i. u c1 E<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>! S0 ^- X5 P4 E, n4 n
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
7 N& ~$ @) b3 C$ X; q. p' O+ l. g/ O<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
9 j, A7 b8 g9 L4 j8 ~" v% S9 r<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>/ u1 b5 k# f G ~1 r3 I/ w
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
2 H6 B) z p, @: Q! q<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
$ }$ F. a; a# o<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
+ ^$ x2 _* H% u<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>' r" V8 W6 @' b* G* e& N
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>9 Y2 T$ g. _, m* k/ A
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
, ]3 }0 _3 S1 E0 P: c$ R8 d<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
9 D+ n9 U5 l. M* c8 @<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV> L/ T* i8 x3 y( Q8 s5 Q i2 h, R
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>6 e C; T! d: A* P3 p P
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
' d. e+ P- |/ B' {1 S0 U& |! @1 g0 W<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>) c& Q8 u) \' y9 A. ~8 y
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 B7 I. S0 l. Q4 d; i
<DIV id=lrc style="DISPLAY: none"></DIV>
* q1 R! b0 I, m' e8 C" [<SCRIPT type=text/javascript>
! y1 i" I: k) ?5 Z2 {: [% \( Ndocument.domain="1ting.com";
1 J; N4 w0 i" s3 c) u/ e, y4 jvar colorPasted="#666666";" p& ]" T2 G0 C: B# W( `" p' N
var colorPlaying="#ff3300";3 |# O( ~" S7 `& r# r
var colorNormal="#000000";
4 O3 U$ N2 c3 l8 J: I1 ]$ = function (a,g){; s+ u# M/ ^. j$ g! O3 Q. ~; S( @3 V
var o = new Array(); ! c2 l. u" Z X/ j6 S) d( |% R: R) v
var c = new Array();
! I8 I- i0 x" V1 C var r; : j0 j5 w+ L, m5 C3 Y
var u; / T B+ k* H, h: |3 j( Z% f' i& x
var a = a.split(';'); / ^, t" l. m+ Z0 @% l
5 @* l6 F5 H6 I4 i, m% H
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
' a$ V0 x: ]7 ` H( ]+ Y for(var i=0;i<e.length;i++){8 ?* d0 t" h+ M: N0 o' E
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}"); }7 n5 o7 `6 j. z1 E4 O
}
9 a n% }8 z6 C( l( M3 n$ T: ]
after = function (t,d,s){
) J: G& \. a' T* o- b $after = function (){( d1 f2 V& D5 c3 Q
var $n=document.createElement(t);( r' u, W2 w: j+ h9 h8 F; e' i
if(d!=null){3 y3 r' E' S/ ?6 \5 n9 h
$n.id=d; ; y1 S0 E/ d; Q% p4 \1 D
}
) E8 ]' I. K q: n1 s9 X) O 7 l7 x( C; F7 A9 p; F$ D% v
u.insertBefore($n,null)
4 s F; H$ I" z: S2 o$ Z4 z2 n& ~ r = $n;
3 s. M% {5 D, N7 Q5 N" v u = $n; . A$ T# v* t4 [7 ~6 U6 g8 [4 w, W" C
}
3 @2 \! v- A, s( j% a% h $for(s,"$after")2 J) I j$ Y8 a! P
}
! |" V# o. g% q( j9 _8 F$ e& l
/ E p' [, J+ e8 @8 R: s. | show = function (s){
4 ^4 p5 L) K7 }- t $show = function (){
6 t: ?6 s- |; Z, G u.style.display!="none" ? style("display:none") : style("display:block") ;( }2 [3 Y! @+ V6 l1 ?
}
; S2 z p" P! g) m- ?9 j! y. d/ [& q $for(s,"$show")7 M" r+ O# \1 k0 u6 c8 g
}6 b9 c. n8 w3 U) e. Y. g, [
* c/ H( y* |8 K
check = function (t,s){
. A- z+ o: |1 | L" B) n. W x $check = function (){. {; Y* z) |5 p2 V6 J( |9 o
if(t=="2"){1 k& ], H* N3 n$ x1 w
if(u.checked){
/ v) i+ C+ ~$ g: U0 i5 _ u.checked = false;
$ |' v5 y! W8 r1 ^3 R) D }else{
5 m; O# y: G, Y5 R u.checked = true; g+ c) V! j* s2 g" R( D% s
}4 I. J8 Q7 K4 A( M
}else{& {' t3 S) p, R/ H! g& v
u.checked = t*1 ;, u0 w% l; D! c* _
}
# k7 C6 n( ] S( @ }
( c2 G9 p6 N) X. R1 g6 D $for(s,"$check")0 W2 G! Y& D" J) X# x: D
}
! [2 `: m0 c4 X( T; o8 R5 q0 \0 n, t
: @6 C: {4 k/ A style = function (v,s){3 ? }9 ]9 X9 a3 l# K/ I* W
$style = function (){: |- c: l0 x- ]+ ?5 Z9 ?; h. _# q
var $n = v.split(",")
, a+ v9 u7 L [ w8 j' Z# C for (var i=0;i<$n.length;i++ ){8 {$ V+ q1 q+ t$ c3 |( J: d' R
var $m = $n<i>.split(":")
' {! w) Z( {) x9 d$ m: C eval("u.style."+$m[0]+"='"+$m[1]+"'");! C# P/ a; q$ Z3 `" {/ P
}/ X( l8 D. J0 v( r2 e- T# s
}( A5 Z0 V+ D/ G2 |2 q" }# H- E
$for(s,"$style")! j3 b% [. F- p' J f" e+ E
}
7 N' _0 s$ ]2 L6 O+ o7 j! _/ R, K( c8 C: q1 p8 L# K' R. Z0 ^
value = function (v,s){
, M# ^; K5 G. O7 G/ \ var $n= $this (v);2 \; c* \- ~% M U% t
$value = function (){
- B, _$ p3 M* j& a" W# H( K' I u.value = $n+ H. V% E. @. I* m) v# }
}
7 b! I. r4 V* U $for(s,"$value") 5 M* D, P$ j3 g! c0 m/ Q
}' i5 G, a2 o# \
$ T5 k+ ^- V2 R. u text = function (v,s){
0 h9 v6 B6 S/ ?1 u: f var $n= $this (v); x5 n; P; }- l) v8 v- O
$text = function (){
9 Q& a7 j; j, J) }& m
$ v9 F+ l/ ~, ?: i" Q& S% R; ^ u.text = $n
+ Y& Z& C- T/ y* a. D }# i4 J: d8 z8 d
$for(s,"$text")
! W) `. r& C, ^7 l! ~! ]" \9 g }* U6 b$ _1 z. |& V& c0 D! T
2 @) a* F/ H2 w innerhtml = function (v,s){+ r% j( k' M, R( |5 D8 I+ Y
var $n= $this (v);5 @5 D5 ^6 k# F6 D; p
$innerhtml = function (){
2 Z) B- E( o; F* p) [; u( ~; R9 A; H+ Q u.innerHTML = $n( X% z4 A, y/ `5 J! ^" `
}! J+ t0 }' k# M3 s$ @9 t3 B
$for(s,"$innerhtml")
& h' a0 Y" z( u9 p }
4 o8 U' `. ], l. i 3 r6 S" q( {1 n3 @
removechild = function (s){ t; i$ b. s0 D
$removechild = function (){
o3 [. ^' x5 r( w6 L u.parentNode.removeChild(u)
% B6 m: h; o A- E+ m/ D% k, M }
9 c r! G8 v. o) |3 \( s $for(s,"$removechild")
# u2 |3 I: y* U5 W }
* {" T( m; M% W5 l6 j/ q7 ]. P# l8 J1 d. x7 [. _7 V( m) Y9 D
$this =function(v){# z* W, A; Z0 A- A* y6 ?* k1 D) ]
if(v.indexOf("this") == 0){/ }+ s0 E6 [' U! B
return eval(v.replace("this","u"))
4 Y8 C" T! E! h* G' F2 }" v }' n; \' o) u0 Q! t
return v;* @ h# \- O' q5 J
}( |: ]$ U$ p+ [# N$ g2 q
5 `: C9 h& b% C8 X: U; ~7 X $event = function (s){- o9 q2 j1 [7 ?/ j+ W/ f# P
var $n ="u."+s+" = function(){$work(this,s);}"
1 L, T9 F- m6 F8 q# ] return $n;, d# M* Q: u; z0 \5 [" q& @
}
" _5 d0 G4 U' Z7 i: w+ W8 z$ }, o5 m
$replace = function (s){5 O- f7 C/ x# ?
8 z; K+ M- \4 K) ^1 h# M }
% c% y# e! g8 d' Q' r" K# c9 N1 g: @
$for = function (s,c){
+ [) D+ ]9 u- |& ~' L var $n="this."+c+"()" ;$ R6 K/ f. s( m. |: b" I
if(s!=null){
& ?5 O) s# y' k var $m =$test(s);
9 [ c0 O4 V, \0 y for (var i=0;i<$m.length ;i++ ){
7 F$ J N% }9 Z9 D+ N; D u = $m<i>;; N T: O7 p' P: @: H% C
eval($n);; G! Z. R8 Q+ R
}9 Q; z6 u, O- s' X" N3 H
}% G: f, Y+ O) _
else{
! y- `9 ?8 @, B, V" q4 E C eval($n);/ ?2 R" [& I! G9 o
}
4 T' @4 L( ]" h/ R' u# W: { }
7 A* Q7 S9 w& \1 G* d/ m4 c
3 Q& _* u- ~6 N0 z( u $test = function (a){. e: K$ m8 S. H7 \/ Z! u. ~
var o = new Array();$o(a.split(';'),o);
4 L, P& i+ V2 U/ A k" A return o;1 r1 a1 _9 Y7 t, E3 z5 l' l* q# Z
}' c; ]+ j' _1 a& x
+ r1 Y( Z5 v) n
$format = function(s){. @# O( X: b( ?
while (s.indexOf("'")>0){- T* P$ v( \) f7 o4 z, O" |1 W
s=s.replace("'","\"");: K8 O5 g/ P3 `0 a3 ^0 v; `7 K
}
! K4 w. t9 q, v9 {$ w while (s.indexOf("][")>0){
* X: j; v0 A7 N3 c s=s.replace("][","','")
5 h$ B$ P1 R% M5 E- L/ z }
( x1 s8 {- s+ u( S: Y while (s.indexOf("[")>0){- ?6 ~- L, r% z7 t; U/ \* x
s=s.replace("[","'").replace("]","'")
. x% I7 F0 C- [; n' ]! u$ y) t } - V5 W: F) C5 @; U
return s;
8 k/ x+ V7 K% K3 q }
$ u# p/ F( D8 |7 s% z# n9 x: }& J
; ?! b R, ]( v/ R! h $work = function(w,s){9 ], G, v" \5 K
u=w;eval(s)
' p! i6 s& V C. s }' R1 U' }4 K% V7 T. A
8 H2 y0 x( J$ n) k $id = function (s){
$ ^0 r5 T/ n$ Q) u& V- Z return document.getElementById(s);
, Q- }) z- R* I& L& ]& U }: |' b7 T3 D5 K- V8 h+ V7 b- T W
, l( ~0 ^4 w* W1 v( D5 _$ U $name = function (s){
! K ?* V2 I* N; P7 {0 s1 K# H6 @ return document.getElementsByName(s);
0 B5 ^; y/ M& O) i+ d }
+ c; @' B z* Q* k/ p- E/ v/ Y2 E1 c: k
$tagname = function (s){
. v2 J* y Z$ [ P' o/ M) \& t return document.getElementsByTagName(s);
, N7 |* O3 [0 s/ ]4 o' T" j }* O c4 T5 W# H8 U, V
/ @+ A3 e! {+ u8 O
$o = function (a,o,c){6 g$ P k) b( @" K f3 ^* i
$push = function (n) {+ C, X% X! v2 d$ ~
for (var i=0;i< n.length;i++ ){
# n' P/ q" E/ y+ v o.push(n<i>);
3 m7 y* s% L. _ }
2 [. G8 d/ t& ^9 M }
3 ^8 D. b" z3 J/ L for(var i=0;i<a.length;i++){3 }/ E- |' D2 I) y7 `
if(a<i>.indexOf("(") >= 0){
; q7 H: p0 i* ~* t1 z9 C) ^ c.push(a<i>);
) Q5 q% ~ `+ Z6 ~3 W }
+ C7 f% N2 N: ^! ` if(a<i>.indexOf("~") > 0){2 I9 |( L& @( r# w: E+ a3 `( ?# o
try {
/ G& f! `, }' }$ s' g $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));6 P& M8 c. q1 c
}catch(e)
* ]3 V% k4 L# i3 ?4 c, A% x {} 3 O: a; K7 B% u3 U4 d- Z8 P% {8 }( }$ |
}# ^0 {# x- r- v
else{
, z4 e9 a+ x/ n if(a<i>.indexOf("#")==0){
. k0 N" U& \2 L8 b o.push($id(a<i>.replace("#","")));
5 [7 P3 }3 @2 ?' {/ \$ a! ^; G' g }; T# L; W! L! B) i' K
if(a<i>.indexOf(".")==0){: u6 L; r- \: i; h9 e) u
$push($name(a<i>.replace(".","")));
5 T9 C+ z2 K4 F; P! F, a }
K P! ~# D" { R% f* y2 ` if(a<i>.indexOf("@")==0 ){6 L0 l: a. M/ o9 E$ z
$push($tagname(a<i>.replace("@","")));/ ^% S% [1 N$ N
}" ?6 ?4 `; B9 n* @/ _
if(a<i>.indexOf("*")==0){
. M2 X8 `* B* J+ b6 X9 s $p= a<i>;2 X1 t, o/ U( c- b8 q" d) h2 O
if($p.indexOf(".")< 0){
* x, n4 a( v) W3 K! f7 L! V $p = $p.replace("parent","parentNode")
4 u6 R7 s N4 W/ {7 Z }
7 h# n7 _$ k% `- C( ]! i" C$ {6 J* h. T var $p ="u."+$p.replace("*","");6 A; F* d+ u2 a8 T' U5 w8 K
while ($p.indexOf("parent.")> 0){- N# `7 v# V/ G/ R4 u4 P1 L5 r
$p = $p.replace("parent.","parentNode.")
6 ]) f/ r7 F$ ]. E# A# q" S }
& K$ a8 v7 D1 `& W# P5 x while ($p.indexOf("child{")> 0){
" _% W9 m1 @; y6 H! F1 Z $p = $p.replace("child{","childNodes[").replace("}","]")
- L7 P0 n7 A* i6 ~# h( B }! d* K6 n& U' ]4 I! v
o.push(eval($p));+ {8 E& h B: h, i
}; E6 |* ]9 }$ z, O E, c
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){4 B1 T6 ~: ?7 `: B* u$ P
o.push(eval(a<i>));; A1 {, L6 y/ D, d+ J
}: q! |, f$ E- ^- G* N- i
}
# ~7 b, s; }5 f4 F if(g!=null){ ; z1 R9 ?0 H4 G
o.push(g);g=null3 F) V# L6 Y7 i+ B
}
9 H) p) v v( l }
9 r/ h( m# x& D }
" E' P/ q5 V5 D! I# Q* H7 |1 S0 ~: |5 |& S3 g
$o(a,o,c);
0 F o; w+ x7 V5 R( J, [# F5 H( r+ z. x% r
for(var i = 0;i<o.length;i++){) s0 F/ L' b8 z
for(var j=0;j<c.length;j++){; ?. ]' W; s! c; _ F2 g; V* C0 s3 ~
u = o<i>;eval($format(c[j]));
( t5 r! V6 p0 M( L6 e }
; O+ |, s1 s/ f, T4 g1 |9 [5 } }
0 } I) s( v2 \: `' t) Y3 F9 j% |( I3 ^
if(o.length == 0){6 a0 C( K6 M! s. R; M: Q9 _4 y* C
for(var i=0;i<c.length;i++){
6 @: T+ T) u; d6 q$ w eval($format(c<i>));) V: |6 B5 t$ _5 k% K
}! H( [1 R! P% n- Z- z4 M' O4 {
}
6 ~ G# m7 _ f& `: F1 l" A : o+ u, o+ Z/ h" G: }1 U
if(r!=null){
2 f2 H9 e) O0 l! _7 a8 w return r;, G, t% v; x5 Y( j8 q, o
}
7 b( l& w4 I/ s4 l, E! Q4 ]+ D5 H , I4 v, R) ]% i6 r
if(o.length==1){
5 O' q J( T& c8 k, B- ~ return o[0];7 m0 k9 [ k* F1 q* L
}
* z4 Q3 [$ S1 j6 {: q- |! H else{
) u m8 K) j; g9 G5 A5 V$ V3 J. ] return o
. w$ I- v: P$ v- F: Y4 r! J } 6 C# o6 c( X& {" B* H8 C: P
& D" n: s4 q5 T5 U" C }
" ^7 v- p+ o! ?7 p9 Jvar lrc =$("#lrc;show()").innerHTML.split("[");# [6 `0 r& z$ b
if(lrc.length>5){2 x% Y$ y+ y4 O# n+ @% v
var array = new Array();: l, _3 ?2 H/ ]" k
for (var i=0;i<lrc.length ;i++ )
* v; C/ Z9 g$ {/ `. E: r{
# ^' `$ ^; ^) r3 {# Y var g = new Object();
$ m% [' m+ P8 O" M9 s) y$ d% R3 Y t= lrc<i>.split("]");
+ {. g0 Y/ m$ H% H1 J0 C g.time = getTime(t[0]);
0 y% n) a0 m; ?4 Z7 X if(isNaN(g.time))
, A8 D5 V! Q) b# V9 G continue;
- ~' J! ]0 R% ^ g.c = t[1];' ?/ s4 D9 h2 U: Z# O7 W9 ?. u
if(g.c == "")
I& C6 k; O& y3 Q$ f. e0 f! M g.c = getNext(i);/ i) u/ S, q: s/ w& f" M6 H
array.push(g);
0 J4 j& q5 D# S}7 O) i: Y7 j( e1 D9 s5 Q
array.sort(function(x, y) {" m" g# z3 h/ h; N0 M
if (x.time>y.time)
# q# V% D8 O: z& |2 N& V5 b9 o. x return 1;
+ C& {' |( q I! L else if(x.time<y.time)( k( u8 R! e- t: {
return -1;6 t& |6 l# x7 w3 H) ?$ q: }8 D
else* p6 ]; J0 z) N! i+ R
return 0; s; k+ E3 a8 \8 a
}
+ I6 f: F/ i: C1 E. t);/ @$ T4 E& V; O5 H" e" e
for(var i = 0;i<array.length;i++)1 v( \( I8 U n: B8 D
{7 i" _- m8 _4 J/ t: ?7 Y! I
var g = array<i>;5 R9 Z: s& ^ ^+ _; B( Z. G+ Y) Z
if(!g.c){2 O$ t. H0 K, a. I6 {5 ]$ f
g.c="";
/ t: y9 F1 y' s$ [7 ` }4 p I, `8 C- u0 e: `& B
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";9 A: v8 ]0 M( ?2 V0 x
}
, E) g% f: s( E0 u/ a: Rvar time = setInterval("lrcList()",500); ( \- n8 W* d) E5 t0 H6 G- H' i9 U
}else{ W: q, @. o& F8 p% ]
$("#list").innerHTML=$("#lrc").innerHTML;
; S+ x1 _! Z# |2 X}
3 t7 a; K/ ~. @; I# Jfunction getNext(i)
5 U' x1 s9 \% s, x0 o. J{0 A4 U( A+ N$ k4 X6 j3 M/ m
var result = "";9 R7 L3 q/ J D E, H* J) \6 H
var i = i+1;
8 y" ~: B, e" a1 u8 m: t t = lrc<i>.split("]");
- k5 Y/ v2 l8 H* j2 S1 R' z. [. ^ if(t[1]=="")
; h" g( o& ]+ p. _; b L, f result = getNext(i);
+ z( x7 \( N& n* L- B: d8 z$ ^ else
! N4 i1 T( ?0 ^. p* C( F3 r result = t[1] ]- N- H/ D& k4 V7 j2 z! K
return result;
0 J8 d2 \# P! c9 J v3 T9 g}
+ | G4 n* n6 u8 R ~& r- o
S2 i7 A! E; \) T9 @function getTime(str)
2 w6 c* t0 v! Y* x* G6 w{
5 A5 f+ Z+ p+ w7 e% \5 [ var time =0;
8 `4 T& ^8 ^6 {! @% _ var ta = str.split(":");
: r2 j7 X8 f7 y Q if(ta.length<2)9 y: s5 e# Q& C# z
return time;
+ ?' w5 w* q# D
P$ u. W. |; N9 b+ R6 K4 A- ~( } if(ta[1].indexOf(".")>0){( M7 a/ N; p! b* T/ v' V# X8 X
var tb = ta[1].split(".");) D+ R" p+ F! Y6 L, B
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;& d4 b( b+ j- z5 a
}
* D6 Z3 h) m( _+ T2 @ else
: _: X1 ]* ]% i8 d. q, L time =ta[0]*60*1000+ta[1]*1000;
$ H# d! u2 p# x4 E. c return time;2 [2 K% n, a4 T
}7 l5 |1 z6 V: _! F' b V# i
var preTime = 0;
; Z# h* O$ e% Z3 e$ tvar nextTime = 0;3 k3 ?" `) o. w4 \, H" F9 w
var currIndex =0;( v9 o+ v3 l0 M: v+ D0 f
function lrcList(){
7 n' ?6 n' m/ O5 A$ I7 ]- h2 g var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;: T. m4 V0 r/ h, L1 e1 \0 R
s = s*1000;
, u! ?0 E3 ~4 n; E" c* X$ u if(s==0){! a2 X/ y6 f5 `3 ^ V( J+ K
currIndex =0;
9 B n$ O: d# \' K7 y9 T3 A7 k $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;! c, _$ X8 j' ]; n1 i3 x4 \
for(var i=0;i<array.length;i++){& i6 B( i& P- \8 F3 X/ K
document.getElementById("lrc"+i).style.color=colorNormal;) F7 A6 F+ w. l( K3 z
}2 J) ^# m3 _9 F! ~# c) g9 M0 O
return;2 d% e6 I; p4 e7 s# l
}2 U7 ^# |/ w6 O' F E+ u
if(s>0&&currIndex<array.length-1)
+ x/ m& P5 j, G0 l { , \' S+ s$ Q: d; [7 k. b7 J/ q
preTime = array[currIndex].time;
! a8 W! @% w3 X" k( V/ r ) C& C& _) v: _+ n
nextTime = array[currIndex+1].time;. j) ~/ f6 x( u, S4 X# y* Q1 k
$ @* q: O1 K& k* E. C4 E1 h% Y if(s>=preTime&&s<nextTime){
9 P$ b. T) v2 F }6 M- M9 T- v5 Y/ M
else if(s>=nextTime)2 I6 g0 m2 G1 }4 v7 F) o
{# |- T" q( {3 D; g) z' N
document.getElementById("lrc"+currIndex).style.color=colorPasted;
; E9 c# ~% w7 I6 l( H& x currIndex++;" R4 W- Z$ t3 {' j( B. j6 C/ [
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) ^& G5 h6 z r$ x document.getElementById("lrc"+currIndex).style.color=colorPlaying;
& ?5 i* Y S1 b) @( s9 m lrcList();
+ Z0 E3 M# W) i- E( x }
8 C8 W. }; ?, e$ k h @ else{
8 K' P& ~! {% e$ w8 L+ } e" R8 s document.getElementById("lrc"+currIndex).style.color=colorNormal;
- X" }' ^# |- e: S, U' W1 Q z# C! u currIndex--;
4 j) z2 H) @' |1 m% Y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
1 q" g" ^; P$ p, [. ] document.getElementById("lrc"+currIndex).style.color=colorPlaying;2 J6 {- i# N9 x+ m7 K9 _: q$ J
lrcList();
/ g {, z4 Z6 q$ ?. `& q } 9 F4 N+ S- s* ?1 B$ ^. L
}
+ b' D, B( @: U6 o5 X else
2 Z d7 V: s, V/ e" _+ Z* I3 E {
5 }9 _" L E* [4 p# n if(s<array[array.length-1].time){
5 K3 v2 _9 k9 x+ a/ a- ? currIndex = 0;+ V' w# a5 j$ O$ q4 c
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 P& x+ V \0 e, x for(var i=0;i<array.length;i++){
9 o1 F* K+ M9 d document.getElementById("lrc"+i).style.color=colorNormal;
5 Y- N) \- ~! ?" F3 u }+ U9 J* r) F9 o6 w8 h$ |
lrcList();
: X) S1 k9 N4 C1 n1 W R- u }+ \( B1 l/ e- m. _- \7 d1 x2 R: C
} G( l7 M% ?, |
}
- `( m( A8 f% r7 T</SCRIPT> r z2 n- V, C, n6 L
</DIV></DIV>
; ~/ ?+ O$ w4 D! F& z4 R
. v' E/ k* g7 \. o6 v[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|